package com.zhanglijie.theory.guardsuspension;

/**
 * @author zhanglijie
 * @version 1.0
 * @since 1.1.0 2022/8/11 0011 1:23
 */
public class Test {
    public static void main(String[] args) {
        RequestQueue queue = new RequestQueue();
        for (int i = 0; i < 1; i++) {
            ClientThread clientThread = new ClientThread(queue, "client" + i);
            ServerThread serverThread = new ServerThread(queue, "server" + i);
            clientThread.start();
            serverThread.start();
        }

    }
}
